package com.example.user.dao;


import com.example.user.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository

public interface UserMapper {
     int insert(User record);
    int insertSelective(User record);
    int deleteByPrimaryKey(Long id);
    User selectByUserCode(String usercode);
    User selectByPrimaryKey(int id);
    List<User> select();
    int updateByPrimaryKeySelective(User record);
    int updateByPrimaryKey(User record);
  //增删查改模糊查询分页
    List<User> like(User user);

}
